package com.adhere.system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RbacUsergroup对象", description="")
public class RbacUsergroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户组（推荐使用name字段进行hash）")
    private String code;

    @ApiModelProperty(value = "用户组名称")
    private String name;

    @ApiModelProperty(value = "用户组创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "账号是否已被删除：1 表示删除   0 表示未删除")
    private Boolean isDeleted;


}
